﻿using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ymatou.ServiceCenter;

namespace YmtAuth.Dto
{

    /// <summary>
    /// 锁定IP
    /// </summary>
    [Resource("auth.ymatou.com", "/json/reply/LockIpRequestDto", Method.POST, ParameterBuildType.FormUrlEncoded)]
    public class LockIpRequestDto
    {
        /// <summary>
        /// IP列表
        /// </summary>
        public string[] Ip { get; set; }

        /// <summary>
        /// 操作者
        /// </summary>
        public string Operating { get; set; }
        
        /// <summary>
        /// 锁定的原因描述
        /// </summary>
        public string Description { get; set; }
        
        /// <summary>
        /// 锁定的过期时间
        /// </summary>
        public TimeSpan LockdTimeOut { get; set; }
    }
}
